import Components  from 'unplugin-vue-components/vite'
import { AntDesignVueResolver } from 'unplugin-vue-components/resolvers'
import { defineConfig } from 'laravel-vite'
import vue from '@vitejs/plugin-vue'


const config = defineConfig()
  .withPlugin(vue).merge({
    plugins: [
      Components({
        resolvers:[
          AntDesignVueResolver()
        ]
      }),
    ],
    build:{
      assetsInlineLimit:8112,
      brotliSize: false,
      chunkSizeWarningLimit: 2000,
    }
  });

export default config;
